<!DOCTYPE html>
<html lang="en">
<head>
        <base href=""/>
        <meta charset="UTF-8">
        <title>闹钟</title>
        <link type="text/css" rel="stylesheet" href="css/bootstrap.min.css"/>
        <link type="text/css" rel="stylesheet" href="css/bootstrap-responsive.min.css"/>
        <link type="text/css" rel="stylesheet" href="css/bootstrap-datetimepicker.min.css"/>
        <link type="text/css" rel="stylesheet" href="css/common.css"/>
        <script type='text/javascript' src='js/jquery-1.10.2.min.js'></script>
        <script type='text/javascript' src='js/bootstrap.min.js'></script>
        <script type='text/javascript' src='js/bootstrap-datetimepicker.js'></script>
        <script type='text/javascript' src='js/bootstrap-datetimepicker.zh-CN.js'></script>
        <script type='text/javascript' src='js/check.js'></script>
</head>
<body onload="disptime();">
        <div class="top"></div>
        <div class="part">
                <h4 class="partTitle"><strong>简易定时闹钟</strong></h4>
                <form class="form-horizontal" name="myform" action='alarmColock.html' method='post'>
                        <div class="form-group">
                                <label for="myclock" class="col-sm-1 control-label">系统时间为:</label>
                                <div  class="col-sm-1 input-group">
                                    <input name="myclock" id="myclock" type="text" value="" size="25" style="border:0px">
                                </div>
                        </div>
                        <div class="form-group">
                                <label for="alarmClock" class="col-sm-1 control-label">自定闹钟:</label>
                                <div  class="col-sm-1 input-group">
                                        <input id="alarmClock" name="alarmClock" class="form-control" type="text" style="border-radius:5px;" placeholder="时:分:秒"><!-- 年/月/日  -->
                                </div>
                        </div>
                        <div class="form-group">
                                <button type="submit" class="btn btn-primary" onclick = "setClick();">
                                        <span  aria-hidden="true"> </span>设置闹钟
                                </button>
                                <button type="button" class="btn btn-danger" onclick = "undo();">
                                        <span  aria-hidden="true"> </span>取消闹钟
                                </button>
                        </div>
                </form>
        </div>
</body>
</html>